﻿@using Mulala.Cavan.Domain.MainBoundedContext.ConsignModule
@using Mulala.Cavan.Presentation.Mvc.Controller
@model Mulala.Cavan.Presentation.Mvc.ViewModel.IConsignsViewModel
<div id="shopping">
    <div style="text-align: left;">
        &nbsp;&nbsp;推荐委托</div>
    @{
        var proprietorAvatar = string.Empty;
    }
    <dl>
        @foreach (IConsignViewModel c in @Model.Consigns)
        {
            proprietorAvatar = c.Avatar + "_100@100.jpg";
            <dt>
                <img src="@proprietorAvatar" width="75" height="80" class="dtimg" alt=""/></dt>
            <dd>
                @Html.ActionLink(@c.Item.Proprietor.Name, ActionConst.DETAIL, ControllerConst.PROPRIETOR, new { id = @c.Item.Proprietor.ID }, null)<br />
                @c.Item.Name</dd>
        }
    </dl>
</div>
